<template>
    <div class="personInfoManage">
      <avatarUpload></avatarUpload>

      <el-form :model="personInfoForm" :rules="rules" ref="personInfoForm" label-width="100px" class="demo-ruleForm">
        <el-form-item label="学号" prop="name">
          <el-input v-model="personInfoForm.name"></el-input>
        </el-form-item>
        <el-form-item label="姓名" prop="name">
          <el-input v-model="personInfoForm.name"></el-input>
        </el-form-item>
        <el-form-item label="性别" prop="resource">
          <el-radio-group v-model="personInfoForm.resource">
            <el-radio label="男"></el-radio>
            <el-radio label="女"></el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item prop="date1" label="出生年月">
          <el-date-picker type="date" placeholder="选择日期" v-model="personInfoForm.date1" style="width: 100%;"></el-date-picker>
        </el-form-item>
        <el-form-item label="班级" prop="name">
          <el-input v-model="personInfoForm.name"></el-input>
        </el-form-item>
        <el-form-item label="职务" prop="name">
          <el-input v-model="personInfoForm.name"></el-input>
        </el-form-item>
        <el-form-item label="身份证" prop="name">
          <el-input v-model="personInfoForm.name"></el-input>
        </el-form-item>
        <el-form-item label="银行卡号" prop="name">
          <el-input v-model="personInfoForm.name"></el-input>
        </el-form-item>
        <el-form-item label="联系方式" prop="name">
          <el-input v-model="personInfoForm.name"></el-input>
        </el-form-item>



        <el-form-item>
          <el-button type="primary" @click="submitForm('personInfoForm')">立即创建</el-button>
          <el-button @click="resetForm('personInfoForm')">重置</el-button>
        </el-form-item>
      </el-form>
    </div>
</template>
<style>
</style>
<script>
    import AvatarUpload from '../fileUpload/avatarUpload'
    export default{
        name : 'personInfoManage',
        data(){
            return{
                personInfoForm:{
                }
            }
        },
        components:{
            AvatarUpload
        }
    }
</script>
